package makovo.entities;

public class Applicant {
	public static enum ApplicantStep {
		REGISTER(1), SOCINFO(2), PROJECT(3), UPLOAD_DOCS(4), UPLOAD_HOME(5), FINISHED(6), APRECIA_HIDE(100), APRECIA_TO_APPROVE(
				101), APRECIA_APPROVED(102), APRECIA_REJECTED(103);

		public final int id;

		private ApplicantStep(int id) {
			this.id = id;
		}

	}

	public String curp;
	public String name;
	public String lastName;
	public String secondLastName;
	public String phone;
	public String seq;
	public String seqId;
	public String birth;
	public int idTypeID;
	public int idState;
	public String typeID;
	public String mstate;
	public int step;
	public int appStep;
	public Address address;

	public String getCurp() {
		return this.curp;
	}

	public void setCurp(String curp) {
		this.curp = curp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLastName() {
		return this.lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getSecondLastName() {
		return this.secondLastName;
	}

	public void setSecondLastName(String secondLastName) {
		this.secondLastName = secondLastName;
	}

	public String getBirth() {
		return this.birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getSeq() {
		return this.seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}

	public String getSeqId() {
		return this.seqId;
	}

	public void setSeqId(String seqId) {
		this.seqId = seqId;
	}

	public int getIdTypeID() {
		return this.idTypeID;
	}

	public void setIdTypeID(int idTypeID) {
		this.idTypeID = idTypeID;
	}

	public String getTypeID() {
		return this.typeID;
	}

	public void setTypeID(String typeID) {
		this.typeID = typeID;
	}

	public int getIdState() {
		return this.idState;
	}

	public void setIdState(int idState) {
		this.idState = idState;
	}

	public String getMState() {
		return this.mstate;
	}

	public void setMState(String mstate) {
		this.mstate = mstate;
	}

	public int getStep() {
		return this.step;
	}

	public void setStep(int step) {
		this.step = step;
	}

	public int getAppStep() {
		return this.appStep;
	}

	public void setAppStep(int appStep) {
		this.appStep = appStep;
	}

	public Address getAddress() {
		return this.address;
	}

	public void setAddress(Address address) {
		this.address = address;

	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFullName()
	{
		return lastName + " " + secondLastName + " " + name;
	}
	
	public Applicant(String curp, String name, String lastName, String secondLastName, String phone, String seq, String seqId,
			String birth, int idTypeID, int idState, String typeID, String mstate, int step, int appStep, Address address) {
		this.curp = curp;
		this.name = name;
		this.lastName = lastName;
		this.secondLastName = secondLastName;
		this.phone = phone;
		this.seq = seq;
		this.seqId = seqId;
		this.birth = birth;
		this.idTypeID = idTypeID;
		this.idState = idState;
		this.typeID = typeID;
		this.mstate = mstate;
		this.appStep = appStep;
		this.step = step;
		this.address = address;
	}
}
